import React from 'react';
import './SubmitBar.scss';

interface SubmitBarProps {
  left: React.ReactNode;
  right: React.ReactNode;
}

const SubmitBar: React.FunctionComponent<SubmitBarProps> = ({ left, right }) => {
  return (
    <div className="submit-bar">
      <div className="left">
        {left}
      </div>
      <div className="right">
        {right}
      </div>
    </div>
  );
};

export default SubmitBar;